package com.juli.school.service;

import com.juli.school.dao.entity.Pub;
import com.juli.school.utils.core.model.CommonResp;
import com.juli.school.utils.core.model.ListResp;

public interface CommonService<T extends Pub> {
	
	CommonResp<String> add(T t);
	
	CommonResp<String> delete(String snStamp, String stuId);
	
	CommonResp<String> update(T t);
	
	CommonResp<ListResp<Pub>> list(T t);
	
	CommonResp<T> detail(Pub pub);
}
